package com.fishing.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fishing.entity.Loginquery;
import com.fishing.mapper.LoginqueryMapper;
import com.fishing.service.LoginqueryService;

@Service
public class LoginqueryServiceImpl implements LoginqueryService{
    @Autowired
    private LoginqueryMapper loginqueryMapper;
	
	
	@Override
	public List<Loginquery> selectAll() throws Exception {
		return this.loginqueryMapper.selectAll();
	}

	@Override
	public int deleteByPrimaryKey(Integer id) throws Exception {
		return this.loginqueryMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Loginquery loginquery) throws Exception {
		return this.loginqueryMapper.insert(loginquery);
	}

	@Override
	public Loginquery loginquery(Integer id) throws Exception {
		return this.loginqueryMapper.loginquery(id);
	}

}
